import React, { Component } from 'react';
import { Upload, Button } from 'antd';
import Label from '../LabelDecorator';

@Label()
class FormUpload extends Component {
  render() {
    const { getStyle } = this.props;
    return (
      <Upload>
        <Button style={getStyle()} icon="upload" />
      </Upload>
    );
  }
}

export default FormUpload;
